//app.js
App({

    onLaunch: function() {

        wx.getSystemInfo({
                success: res => {
                    wx.setStorageSync('w', res.windowWidth)
                    wx.setStorageSync('y', res.windowHeight)
                }
            }),
            wx.getSystemInfo({
                success: (result) => {
                    console.log(result)
                    this.systeninfo = result
                },
                fail: () => {},
                complete: () => {}
            });
    },
    globalData: {
        userInfo: null,
    },
    openId: null,
    usering: null,
    usermm: 0,
    wxCode: null,
    APIURL: 'https://api.daoker.club/api/',
    // APIURL: 'http://api.daoker.club/api/',

    // APIURL: 'http://www.laraveltest.com/api/',

})